package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.SsMstXcxAnswersPandect;
import com.dingreading.cloud.soms.entity.table.SsMstXcxAnswersPandectTableDef;
import com.dingreading.cloud.soms.mapper.SsMstXcxAnswersPandectMapper;
import com.dingreading.cloud.soms.service.SsMstXcxAnswersPandectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 小程序学生答题记录总览表 服务层实现。
 *
 * @author EDY
 * @since 2025-11-03
 */
@Service
public class SsMstSsMstXcxAnswersPandectServiceImpl extends BaseServiceImpl<SsMstXcxAnswersPandectMapper, SsMstXcxAnswersPandect, SsMstXcxAnswersPandectTableDef> implements SsMstXcxAnswersPandectService {

    @Override
    protected SsMstXcxAnswersPandectTableDef getTable() {
        return SsMstXcxAnswersPandectTableDef.ssMstXcxAnswersPandect;
    }


    @Override
    public List<SsMstXcxAnswersPandect> getByStudentUidList(List<String> studentUidList) {
        return getMapper().selectListByCondition(table.studentUid.in(studentUidList));
    }
}
